Skip to content

Add an overload that allows supplying custom stdout and stderr destinations AND a body #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

jakepetroules
Copy link
Contributor

Every other combination of stdin/stdout/stderr with a custom body was present except for this one.

@jakepetroules jakepetroules requested a review from iCharlesHu as a code owner June 6, 2025 19:52
@jakepetroules
Copy link
Contributor Author

My use case is that I want to be able to point stdout/stderr at the same file descriptor, AND I want to support cancellation. With the current set of overloads I can only do one or the other.

@jakepetroules jakepetroules force-pushed the add-missing-overload branch 2 times, most recently from 43c0d43 to 70a9e4b Compare June 10, 2025 00:57
…ations AND a body

Every other combination of stdin/stdout/stderr with a custom body was present except for this one.
@jakepetroules jakepetroules force-pushed the add-missing-overload branch from 70a9e4b to 091b6f9 Compare June 10, 2025 02:19
@jakepetroules jakepetroules merged commit 43f99d9 into swiftlang:main Jun 10, 2025
20 checks passed
@jakepetroules jakepetroules deleted the add-missing-overload branch June 10, 2025 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants